import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: () => import('./views/Home.vue')
    },
    {
      path: '/vip',
      name: 'vip',
      component: () => import('./views/vip.vue')
    },
    {
      path: '/cart',
      name: 'cart',
      component: () => import('./views/cart.vue')
    },
    {
      path: '/seach',
      name: 'seach',
      component: () => import('./views/seach.vue')
    },
    {
      path: '/newslist',
      name: 'newslist',
      component: () => import('./views/newslist.vue')
    }
  ]
})
